module.exports = function () {
  var faker = require('faker')
  faker.locale = 'zh_CN'
  var _ = require('lodash')
  return {
    people: _.times(100, function (n) {
      return {
        id: n,
        name: faker.name.findName(),
        avatar: faker.internet.avatar()
      }
    }),
    address: _.times(100, function (n) {
      return {
        id: faker.random.uuid(),
        city: faker.address.city(),
        county: faker.address.county()
      }
    }),
    products: _.times(10, function (n) {
      return {
        imageUrl: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1511244729703&di=ed1f96ae847b491b3dccedd9fed3a473&imgtype=0&src=http%3A%2F%2Fimg10.360buyimg.com%2Fn1%2Fs900x900_g12%2FM00%2F03%2F01%2FrBEQYVM0yEMIAAAAAAC0bZC4mzEAADa6wBbgJAAALSF210.jpg',
        brandName: 'GUCCI',
        price: '1000',
        remainCount: '1',
        status: '1',
        platfrom: '自营',
        productId: '',
        product_status: ''
      }
    }),
    shareProducts: _.times(10, function(n) {
      return {
        imageUrl: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1511244729703&di=ed1f96ae847b491b3dccedd9fed3a473&imgtype=0&src=http%3A%2F%2Fimg10.360buyimg.com%2Fn1%2Fs900x900_g12%2FM00%2F03%2F01%2FrBEQYVM0yEMIAAAAAAC0bZC4mzEAADa6wBbgJAAALSF210.jpg',
        brandName: 'GUCCI',
        price: '1000',
        desc: '描述内容'
      }
    }),
    shareProductDetail: {
      images: ['1', '2'],
      productFlags: ['品牌', 'price']
    },
    photos: _.times(20, function(n) {
      return {
        imageUrl: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1511244729703&di=ed1f96ae847b491b3dccedd9fed3a473&imgtype=0&src=http%3A%2F%2Fimg10.360buyimg.com%2Fn1%2Fs900x900_g12%2FM00%2F03%2F01%2FrBEQYVM0yEMIAAAAAAC0bZC4mzEAADa6wBbgJAAALSF210.jpg',
        title: '明星搭配高清',
        desc: '描述内容',
        id: '1'
      }
    }),
    photoDetail: {
      cover: '',
      images: ['1', '2'],
      productFlags: ['品牌', 'price'],
      products: ['']
    },
    photosFilterItems: [
      {
        name: '明星',
        id: '1',
        children: [{name: '杨幂', id: '11'}, {name: '刘思思', id: '12'}, {name: '柳岩', id: '13'}]
      },
      {
        name: '品牌',
        id: '2',
        children: [{name: '杨幂', id: '11'}, {name: '刘思思', id: '12'}, {name: '柳岩', id: '13'}]
      },
      {
        name: '季节',
        id: '3',
        children: [{name: '春季', id: '31'}, {name: '夏季', id: '32'}, {name: '秋季', id: '33'}, {name: '冬季', id: '34'}]
      },
      {
        name: '风格',
        id: '4',
        children: [{name: '性冷淡风', id: '41'}, {name: '日系风格', id: '42'}, {name: '运动风', id: '43'}]
      },
      {
        name: '位置',
        id: '5',
        children: [{name: '机场', id: '51'}, {name: '室内', id: '52'}, {name: '街道', id: '53'}]
      }
    ],
    topics: [
      {
        cover: '',
        title: '',
        subTitle: '',
        createTime: '',
        status: ''// 上下架状态
      }
    ],
    wantBuys: [
      {
        cover: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1511244729703&di=ed1f96ae847b491b3dccedd9fed3a473&imgtype=0&src=http%3A%2F%2Fimg10.360buyimg.com%2Fn1%2Fs900x900_g12%2FM00%2F03%2F01%2FrBEQYVM0yEMIAAAAAAC0bZC4mzEAADa6wBbgJAAALSF210.jpg',
        title: '这里是title',
        subTitle: '',
        createTime: '',
        price: '12312',
        euroPrice: '123123',
        status: '待支付'
      }
    ],
    wantBuyDetail: [
      {
        cover: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1511244729703&di=ed1f96ae847b491b3dccedd9fed3a473&imgtype=0&src=http%3A%2F%2Fimg10.360buyimg.com%2Fn1%2Fs900x900_g12%2FM00%2F03%2F01%2FrBEQYVM0yEMIAAAAAAC0bZC4mzEAADa6wBbgJAAALSF210.jpg',
        realPrice: '',
        perfectPrice: '',
        size: '',
        brand: '',
        color: '',
        title: 'GUUCI 红色樱花 均码 急求'
      }
    ]
  }
}
